package org.hy.persistence.mypage;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.hy.domain.mypage.MyInterestShow;
import org.hy.domain.mypage.MyInterestShowComment;

public interface MyInterestShowMapper {

	MyInterestShow findMyInterestShowWithCommentsById(@Param("id") int id,@Param("offset")int offset,@Param("size")int size);
	
	MyInterestShow findMyInterestShowById(Integer id);
	
	List<MyInterestShow> findMyInterestShowsWithCommentsByUid(@Param("id") int id,@Param("offset")int offset,@Param("size")int size);
	
	MyInterestShow findMyInterestShowWithDefaultCommentsById(@Param("id") int id,@Param("offset")int offset,@Param("size")int size);
	
	List<MyInterestShow> findMyInterestShowsWithDefaultCommentsByUid(@Param("id") int id,@Param("offset")int offset,@Param("size")int size);
	
	MyInterestShowComment findCommentWithMyInterestShowByUid(@Param("uid") int id,@Param("offset")int offset,@Param("size")int size);
	
	int updateMyInterestShow(MyInterestShow myInterestShow);
	
	int insertMyInterestShow(MyInterestShow myInterestShow);
	
	int deleteMyInterestShow(Integer id);
	
	int countMyInterestShow(Integer uid);
	
	int countMyInterestShowComment(int refFeedId);
}
